const mongoose = require('mongoose')
const Schema = mongoose.Schema

const phoneSchema = new Schema({
    price: {
        type: Number,
    },
    shopname: {
        type: String,
    },
    skuname: {
        type: String,
    },
    url: {
        type: String,
    },
    img: {
        type: String
    },
    logourl: {
        type: String,
    },
    brand: {
        type: String
    }
})

let phoneModel = mongoose.model('Authorproducts', phoneSchema, 'Authorproducts')
module.exports = phoneModel